﻿<Window x:Class="PubSubWpfClient.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="PubSub Client" Height="425" Width="665" Closing="Cleanup" MinWidth="665" MinHeight="425">
       
    
    
    <Grid AllowDrop="True" Name="MainGrid">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        <TabControl>
            <TabItem Header="Custom Activity">            
                <Grid Margin="20" Name="grid2" Height="134.326" VerticalAlignment="Top">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="124" />
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition />
                        <RowDefinition />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <Label Margin="4,0,38.963,0" Name="label8" VerticalContentAlignment="Center" VerticalAlignment="Center" FontSize="13" Height="25.69">Sip Address:</Label>
                    <Label FontSize="13" Margin="4,0,54.293,0" Name="label9" VerticalContentAlignment="Center" Grid.Row="1" VerticalAlignment="Center" Height="25.69">Presence:</Label>
                    <Label FontSize="13" Margin="4,0,12.323,0" Name="label10" VerticalContentAlignment="Center" Grid.Row="2" VerticalAlignment="Center" Height="25.69">Custom Message:</Label>
                    <Button Grid.Column="1" Grid.Row="3" HorizontalAlignment="Right" Margin="0,0,4,0" Name="btnPublishPresence2" Width="110" FontSize="13" Click="btnPublishPresence2_Click" VerticalAlignment="Center" Height="22.69">Publish Presence</Button>
                    <ComboBox Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Margin="4,0,0,0" Name="cmbPresence2" Width="120" DisplayMemberPath="Key" SelectedValuePath="Value" VerticalAlignment="Center" Height="21.277">
                        <ComboBox.Effect>
                            <DropShadowEffect Direction="0" RenderingBias="Performance" BlurRadius="20" ShadowDepth="0" Color="Crimson" Opacity="0"></DropShadowEffect>
                        </ComboBox.Effect>
                    </ComboBox>
                    <TextBox Grid.Column="1" Margin="4,0,4,0" Name="txtSipAddress2" VerticalAlignment="Center" Height="19.277">
                        <TextBox.Effect>
                            <DropShadowEffect Direction="0" RenderingBias="Performance" BlurRadius="20" ShadowDepth="0" Color="Crimson" Opacity="0"></DropShadowEffect>
                        </TextBox.Effect>
                    </TextBox>
                    <TextBox Grid.Column="1" Margin="4,0,4,0" Name="txtCustomMessage" Grid.Row="2" VerticalAlignment="Center" Height="19.277" />
                </Grid>
            </TabItem>
            <TabItem Header="Custom Presence">
                <Grid Name="PresenceGrid">
                    <Grid Grid.Row="2" Margin="20" Name="grid4">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="120" />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="30" />
                            
                            <RowDefinition Height="30" />
                            <RowDefinition Height="30" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>
                        <Label Margin="4,0,0,0" Name="label16" VerticalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="13">Sip Address:</Label>
                        
                        <Label FontSize="13" Margin="4,0,0,0" Name="label15" VerticalContentAlignment="Center" Grid.Row="1" HorizontalContentAlignment="Right" VerticalAlignment="Center" HorizontalAlignment="Left">GPS Statement:</Label>
                        <Button Grid.Column="1" Grid.Row="2" HorizontalAlignment="Right" Margin="0,0,4,0" Name="btnPublishPresence4" Width="210" FontSize="13" Click="btnPublishPresence4_Click" VerticalAlignment="Center">Publish Custom Presence</Button>
                        <TextBox Grid.Column="1" Margin="4,6" Name="txtSipAddress4" VerticalAlignment="Center">
                            <TextBox.Effect>
                                <DropShadowEffect Direction="0" RenderingBias="Performance" BlurRadius="20" ShadowDepth="0" Color="Crimson" Opacity="0"></DropShadowEffect>
                            </TextBox.Effect>
                        </TextBox>
                        <TextBox Grid.Column="1" Margin="4,6" Name="txtGPSStatement2" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Center">
                            <TextBox.Effect>
                                <DropShadowEffect Direction="0" RenderingBias="Performance" BlurRadius="20" ShadowDepth="0" Color="Crimson" Opacity="0"></DropShadowEffect>
                            </TextBox.Effect>
                        </TextBox>
                        <ListBox Grid.ColumnSpan="2" Grid.Row="3" Margin="4,4,4,4" Name="lbCustomPresence" />
                    </Grid>
                </Grid>
            </TabItem>

        </TabControl>
        <StatusBar Grid.Row="1"  Height="30" VerticalAlignment="Bottom">
            <Label Name="lblOp2" Grid.ColumnSpan="2" FontWeight="Bold" HorizontalContentAlignment="Center" FontSize="14" VerticalContentAlignment="Center" VerticalAlignment="Center" Height="26.9">Status</Label>
        </StatusBar>
        <!---->
    </Grid>
    
    
</Window>
